<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!-- 
	Copyright (C) 2007, 2008, 2009, 2010, 2011. PARP Research Group.
	<http://perception.inf.um.es>
	University of Murcia, Spain.

	This file is part of the QVision library.

	QVision is free software: you can redistribute it and/or modify
	it under the terms of the GNU Lesser General Public License as
	published by the Free Software Foundation, version 3 of the License.

	QVision is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public
	License along with QVision. If not, see <http://www.gnu.org/licenses/>.
-->

<html><head><meta http-equiv="content-Type" content="text/html;charset=UTF-8">
<title>QVision: Qt&#39;s Image, Video and Computer Vision Library</title>
<meta name="title" content="QVision" />
<meta name="dc.title" content="QVision" />
<meta name="url" content="http://perception.inf.um.es/QVision" />
<meta name="author" content="PARP Research Group - http://perception.inf.um.es" />
<meta name="revisit-after" content="30 DAYS"/>
<meta name="robots" content="index,follow"/>
<meta name="classification" content="*">
<meta name="rating" content="Safe For Kids">
<meta name="distribution" content="GLOBAL"/>
<meta name="description" content="Qt's Image, Video and Computer Vision Library"/>
<meta name="page-topic" content="Computer Vision research and prototype programming"/>
<meta name="geo.country" content="ES" />

<!--
Keywords:
By license:		open source, gnu, lgpl, gpl, free
By theme:		computer vision, image processing, robotics, programming, source, development
By usage:		library, toolkit, framework, prototype, application
By programming specs:	object oriented, c++, block programming, reusability, gui, graphical, parallel computing, high performance, GPU, prototyping
Interoperability with:	Qt, GSL, GNU Scientific library, OpenCV, CGAL, QWT, CUDA, mplayer, IPP, Intel Image Performance Primitives, blas, lapack
Functionallity:		image features, matrix algebra, projective geometry, mser, function minimization, function optimization, canny operator, harris operator, corner detection, performance evaluation, cpu usage, graphical interface
Main data-types:	matrix, vector, tensor, quaternion, image, polyline
Video sources:		webcam, camera, stream
Devices:		embedded, desktop computer, laptop, mini-laptop
Authors:		PARP research group. University of Murcia, Spain.
-->

<meta name="keywords" content="augmented reality, sfm, structure from motion, open source, gnu, lgpl, gpl, free, computer vision, image processing, robotics, programming, source, development, library, toolkit, framework, prototype, application, object oriented, c++, block programming, reusability, gui, graphical, parallel computing, high performance, GPU, prototyping, Qt, GSL, GNU Scientific library, OpenCV, CGAL, QWT, CUDA, mplayer, IPP, Intel Image Performance Primitives, blas, lapack, image features, matrix algebra, projective geometry, mser, function minimization, function optimization, canny operator, harris operator, corner detection, performance evaluation, cpu usage, graphical interface, matrix, vector, tensor, quaternion, image, polyline, webcam, camera, stream, embedded, desktop computer, laptop, mini-laptop, University of Murcia, Spain, PARP research group, vision por computador"/>
<meta http-equiv="keywords" content="augmented reality, sfm, structure from motion, open source, gnu, lgpl, gpl, free, computer vision, image processing, robotics, programming, source, development, library, toolkit, framework, prototype, application, object oriented, c++, block programming, reusability, gui, graphical, parallel computing, high performance, GPU, prototyping, Qt, GSL, GNU Scientific library, OpenCV, CGAL, QWT, CUDA, mplayer, IPP, Intel Image Performance Primitives, blas, lapack, image features, matrix algebra, projective geometry, mser, function minimization, function optimization, canny operator, harris operator, corner detection, performance evaluation, cpu usage, graphical interface, matrix, vector, tensor, quaternion, image, polyline, webcam, camera, stream, embedded, desktop computer, laptop, mini-laptop, University of Murcia, Spain, PARP research group, vision por computador"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="title" content="QVision"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="favicon.ico" />
</head><body>

<table width="100%"><tr>
	<td><a href="http://perception.inf.um.es/"><img src="parp.png" border="0" /> <big>PARP Research Group</big></a></td>
	<td align="right"><a href="http://www.um.es/"><big>Universidad de Murcia</big> <img src="um.png" border="0" /></a></td>
</tr></table>

<hr /><br />

<table width="95%" align="center"><tr><td>

<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <form id="FSearchBox" action="search.php" method="get">
            <img id="MSearchSelect" src="search/search.png" alt=""/>
            <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                   onfocus="searchBox.OnSearchFieldFocus(true)" 
                   onblur="searchBox.OnSearchFieldFocus(false)"/>
          </form>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>QVFunctionPlot Class Reference<br/>
<small>
[<a class="el" href="group__qvqwt.html">GUI blocks based on the QWT library</a>]</small>
</h1><!-- doxytag: class="QVFunctionPlot" --><!-- doxytag: inherits="QVPlot" -->
<p>Widget for plotting QList&lt;double&gt; property values from a block, as an histogram, over the time.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qvfunctionplot_8h_source.html">QVFunctionPlot</a>&gt;</code></p>

<p>Inherits <a class="el" href="classQVPlot.html">QVPlot</a>.</p>

<p><a href="classQVFunctionPlot-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQVFunctionPlot.html#aa8ba7ec0e6cd3d38dfe0285724370103">QVFunctionPlot</a> (const QString name=QString(), bool time=true, int step=10, QWidget *parent=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <a class="el" href="classQVFunctionPlot.html" title="Widget for plotting QList&lt;double&gt; property values from a block, as an histogram...">QVFunctionPlot</a> with a given string identifier, and a iteration's parameters. Construct a new plot that shows QList&lt;double&gt; properties graphs as an histogram graph. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of QList&lt;double&gt; linked properties of different blocks.  <a href="#aa8ba7ec0e6cd3d38dfe0285724370103"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQVFunctionPlot.html#a2e52710028159044f7c9ffd044f03b9f">linkUnspecifiedInputProperty</a> (<a class="el" href="classQVPropertyContainer.html">QVPropertyContainer</a> *sourceContainer, QString sourcePropName, LinkType linkType=AsynchronousLink)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Links properties from blocks. This method safely links properties from blocks in a thread safe manner. If the iterations are based on block's iterations (time == false), the block must be synchronised with previous linked blocks. Only can be linked QList&lt;double&gt; properties.  <a href="#a2e52710028159044f7c9ffd044f03b9f"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Widget for plotting QList&lt;double&gt; property values from a block, as an histogram, over the time. </p>
<p>This class creates a widget which plots some arrays of values as functions:</p>
<div align="center">
<img src="qvision_functionplot_window.png" alt="qvision_functionplot_window.png"/>
</div>
<p>For further information about its usage and functionality see section QVFunctionPlotWidget</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQVNumericPlot.html" title="Class for plot graphs of block&#39;s int or double properties.">QVNumericPlot</a> </dd>
<dd>
<a class="el" href="classQVCPUPlot.html" title="Class for plot graphs of block&#39;s cpustat properties.">QVCPUPlot</a> </dd></dl>

<p>Definition at line <a class="el" href="qvfunctionplot_8h_source.html#l00048">48</a> of file <a class="el" href="qvfunctionplot_8h_source.html">qvfunctionplot.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa8ba7ec0e6cd3d38dfe0285724370103"></a><!-- doxytag: member="QVFunctionPlot::QVFunctionPlot" ref="aa8ba7ec0e6cd3d38dfe0285724370103" args="(const QString name=QString(), bool time=true, int step=10, QWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVFunctionPlot::QVFunctionPlot </td>
          <td>(</td>
          <td class="paramtype">const QString&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>QString&nbsp;()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>time</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>step</em> = <code>10</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="classQVFunctionPlot.html" title="Widget for plotting QList&lt;double&gt; property values from a block, as an histogram...">QVFunctionPlot</a> with a given string identifier, and a iteration's parameters. Construct a new plot that shows QList&lt;double&gt; properties graphs as an histogram graph. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of QList&lt;double&gt; linked properties of different blocks. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>Identifier for the object to be created. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>True if the iterations are based on clock time (in second hundredths), and false if they are based on block's iterations. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step</em>&nbsp;</td><td>Set the base measure to plot's iterations ratio. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>maxim</em>&nbsp;</td><td>The left axis maximum value shown, if it is 0, the maximum value is auto scale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>minim</em>&nbsp;</td><td>The left axis minimum value shown, it must be less than maximum value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Identifier for the parent widget.</td></tr>
  </table>
  </dd>
</dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000019">Todo:</a></b></dt><dd>los parámetros de configuración de los widgets numericplot e histogramplot puedan ser propiedades dinámicas. </dd></dl>

<p>Definition at line <a class="el" href="qvfunctionplot_8cpp_source.html#l00035">35</a> of file <a class="el" href="qvfunctionplot_8cpp_source.html">qvfunctionplot.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2e52710028159044f7c9ffd044f03b9f"></a><!-- doxytag: member="QVFunctionPlot::linkUnspecifiedInputProperty" ref="a2e52710028159044f7c9ffd044f03b9f" args="(QVPropertyContainer *sourceContainer, QString sourcePropName, LinkType linkType=AsynchronousLink)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QVFunctionPlot::linkUnspecifiedInputProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classQVPropertyContainer.html">QVPropertyContainer</a> *&nbsp;</td>
          <td class="paramname"> <em>sourceContainer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>sourcePropName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LinkType&nbsp;</td>
          <td class="paramname"> <em>linkType</em> = <code>AsynchronousLink</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Links properties from blocks. This method safely links properties from blocks in a thread safe manner. If the iterations are based on block's iterations (time == false), the block must be synchronised with previous linked blocks. Only can be linked QList&lt;double&gt; properties. </p>
<p>See also <a class="el" href="classQVPropertyContainer.html#a71d6042e94adbb6c46814e3593973a76" title="Semantics for a link between QVPropertyContainers.">QVPropertyContainer::LinkType</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sourceContainer</em>&nbsp;</td><td>The container that whants to be linked. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>sourcePropName</em>&nbsp;</td><td>The name of the source property to be linked. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>linkType</em>&nbsp;</td><td>The link's type. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="qvfunctionplot_8cpp_source.html#l00044">44</a> of file <a class="el" href="qvfunctionplot_8cpp_source.html">qvfunctionplot.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/qvblockprogramming/qvguiblocks/<a class="el" href="qvfunctionplot_8h_source.html">qvfunctionplot.h</a></li>
<li>src/qvblockprogramming/qvguiblocks/<a class="el" href="qvfunctionplot_8cpp_source.html">qvfunctionplot.cpp</a></li>
</ul>
</div>
</td></tr></table>

<br /><hr><br />
<center><a href="http://perception.inf.um.es/QVision">QVision framework</a>.
<a href="http://perception.inf.um.es">PARP research group</a>.
Copyright &copy; 2007, 2008, 2009, 2010, 2011.</center>
<br />
</body>
</html>
